<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>  
         <div id="featured">
        <ul>
          <li>
            <h2>Deportista Seleccionado</h2>
            
        <?php
            include_once './Data/MySql.php';
            include_once './Data/DeportistaData.php';
            include_once './Data/RecursosData.php';
            include_once './Common/Entity/Deportista.php';
            include_once './Common/Entity/Imagen.php';
            include_once './Common/Entity/Video.php'; 
        
          
              $deportistaData = new DeportistaData();
              $recursosData = new RecursosData();
              $deportista= new Deportista();
            
              $video= new Video();
             
           $deportista= $deportistaData->GetDeportista($_GET['deportista']);
          
           $video=$recursosData->GetVideo($deportista->getIdVideo());
           ?>
            <p class="imgholder"><iframe title="YouTube video player" width="480" height="390" src="<?= $video->getURL() ?>" frameborder="0" allowfullscreen></iframe></p>
            <p><?=$deportista->getEntrevista() ?></p>
            
            <p class="readmore"><a href="#">Continue Reading &raquo;</a></p>
          </li>
        </ul>
      </div>
        <?php
        // put your code here
        ?>
    </body>
</html>
